<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="f"%><body>
<div class="wrap">
    <div class="nav">
        <div class="return">
            <a href="${requestScope.FPWEB.rootPath }/user/list${requestScope.FPWEB.urlStuff}">返回上一级</a>
        </div>
    </div>
    <div class="h_a">用户详情</div>
    <div class="table_full">
        <table width="100%">
            <tbody>
            <tr>
                <th width="100">用户编号</th>
                <td>${user.user_id}</td>
            </tr>
            <tr>
                <th width="100">用户名</th>
                <td>${user.nickname}</td>
            </tr>
            <tr>
                <th width="100">真实姓名</th>
                <td>${user.idname}</td>
            </tr>
            <tr>
                <th width="100">手机号</th>
                <td>${user.mobile_number}</td>
            </tr>
            <tr>
                <th width="100">身份证号</th>
                <td>${user.idcard}</td>
            </tr>
            <tr>
                <th width="100">性别</th>
                <td><c:if test="${user.gender==0}">女</c:if><c:if test="${user.gender==1}">男</c:if> </td>
            </tr>
            <tr>
                <th width="100">状态</th>
                <td><c:if test="${user.user_status==0}">正常</c:if><c:if test="${user.user_status==1}">冻结</c:if> </td>
            </tr>
            </tbody>
        </table>
    </div>

    <div class="h_a"> 银行卡信息</div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>银行</td>
                <td>银行卡号</td>
                <td>真实姓名</td>
                <td>身份证号</td>
                <td>预留手机号</td>
                <td>绑卡时间</td>
            </tr>
            </thead>
            <tbody>
                <tr>
                    <td>${user.strMap.bank_name}</td>
                    <td>${user.strMap.bank_no}</td>
                    <td>${user.strMap.idName}</td>
                    <td>${user.strMap.idCard}</td>
                    <td>${user.strMap.bank_mobile}</td>
                    <td><yjd:jstl_date value="${user.strMap.bank_time}" parttern="yyyy-MM-dd HH:mm:ss"/></td>
                </tr>
            </tbody>
        </table>
    </div>

    <div class="h_a">工作信息</div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>工作单位</td>
                <td>公司类型</td>
                <td>工作年限</td>
                <td>居住城市</td>
                <td>公司地址</td>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td>${user.strMap.company}</td>
                <td>${user.strMap.companyType}</td>
                <td>${user.strMap.duration}</td>
                <td>${user.strMap.residenceLocation}</td>
                <td>${user.strMap.companyLocation}</td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="h_a">联系人信息</div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>所属关系</td>
                <td>联系人姓名</td>
                <td>手机号码</td>
            </tr>
            </thead>
            <tbody>
                <tr>
                    <td>${user.strMap.contacRelation}</td>
                    <td>${user.strMap.contacName}</td>
                    <td>${user.strMap.contacMoblie}</td>
                </tr>
            </tbody>
        </table>
    </div>


    <div class="h_a"> 芝麻信用信息</div>
    <div class="table_list">
        <table width="100%">
            <thead>
            <tr>
                <td>芝麻信用分数</td>
                <td>行业风险评级</td>
                <td>防欺诈判断</td>
            </tr>
            </thead>
            <tbody>
            <tr>
                <td><c:if test="${zhimaInfo.credit_score == 0}">无</c:if><c:if test="${zhimaInfo.credit_score > 0}">${zhimaInfo.credit_score}</c:if></td>
                <td>${zhimaInfo.strMap.creditLabel}</td>
                <td><c:if test="${zhimaInfo.fraud_flag == 0}">否</c:if><c:if test="${zhimaInfo.fraud_flag == 1}">是</c:if></td>
            </tr>
            </tbody>
        </table>
    </div>

</div>
<script>
    YJD.use('AppAdminCommon');
</script>
</body>